package com.sskj.mqtt.many.mapper;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

/**
 * @Author: Like
 * @Date: 2025/3/3 13:23
 * @Description:
 */
@Data
@TableName("tbl_mqtt_server_dat")
public class Mqtt {
    //唯一标识
    private String id;
    //服务器ip
    @TableField("server_host")
    private String serverHost;
    //端口
    @TableField("server_port")
    private String serverPort;
    //用户名
    @TableField("username")
    private String username;
    //密码
    @TableField("password")
    private String password;
    //客户端id
    @TableField("client_id")
    private String clientId;
    //客户端订阅的主题(以'',''隔开)
    @TableField("client_topic")
    private String clientTopic;
    //客户端每次重连是否清除session， 0:否 1:'是
    @TableField("client_clean_session")
    private Integer clientCleanSession;
    //备注
    private String remark;
}
